<?php

namespace App\Repositories\Clbum;

use App\Models\Clbum\Grade;
use App\Presenters\Clbum\GradePresenter;
use App\Repositories\BaseRepository;
use App\Validators\Clbum\GradeValidator;
use Prettus\Repository\Criteria\RequestCriteria;

class GradeRepositoryEloquent extends BaseRepository implements GradeRepository
{
    public function model()
    {
        return Grade::class;
    }

    public function validator()
    {

        return GradeValidator::class;
    }

    public function boot()
    {
        $this->pushCriteria(app(RequestCriteria::class));
    }

    public function presenter(){
        return GradePresenter::class;
    }
}
